package com.weipai.springboot.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.util.UUID;

/**
 * 需求实体类
 */
@Table(name ="c_demand")
public class Demand {

    @Id
    private String demandId= UUID.randomUUID().toString();//主键

    private String demandName;//需求标题

    private Integer demandTimeLimit;//工期

    private String demandDescribe;//介绍

    private String demandCategoryId;//需求类别id

    private Integer isAudit=0;//是否审核，默认0----1表示推送到平台

    private Integer demandStatus=0;//状态:0未接单，1客服介入，2已完成，3已驳回

    private Integer demandMoney;//费用

    private String province;//省份

    private String city;//城市

    private String county;//区/县

    private String address;//详细地址

    private String initiatorName;//发起人姓名

    private String initiatorMobile;//发起人手机号

    private String customerId;//发起人id

    private String artisanId;//技工id

    private String artisanName;//技工姓名

    private String artisanMobile;//技工手机号

     private Date  serviceTime; //客服介入时间

    private String createTime;//创建时间

    private String delTime;//删除时间   

    private String updateTime;//修改时间

    private String serviceName;//客服人员姓名

    private String serviceJobNumber;//客服人员工号

    private String demandImg;//图片

    private String demandNumber;

    private Date payTime;

    private Integer payType;

    public String getDemandNumber() {
        return demandNumber;
    }

    public void setDemandNumber(String demandNumber) {
        this.demandNumber = demandNumber;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Date getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(Date serviceTime) {
        this.serviceTime = serviceTime;
    }

    public String getDemandImg() {
        return demandImg;
    }

    public void setDemandImg(String demandImg) {
        this.demandImg = demandImg;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getServiceJobNumber() {
        return serviceJobNumber;
    }

    public void setServiceJobNumber(String serviceJobNumber) {
        this.serviceJobNumber = serviceJobNumber;
    }

    public String getDemandId() {
        return demandId;
    }

    public void setDemandId(String demandId) {
        this.demandId = demandId == null ? null : demandId.trim();
    }

    public String getDemandName() {
        return demandName;
    }

    public void setDemandName(String demandName) {
        this.demandName = demandName == null ? null : demandName.trim();
    }

    public Integer getDemandTimeLimit() {
        return demandTimeLimit;
    }

    public void setDemandTimeLimit(Integer demandTimeLimit) {
        this.demandTimeLimit = demandTimeLimit;
    }

    public String getDemandDescribe() {
        return demandDescribe;
    }

    public void setDemandDescribe(String demandDescribe) {
        this.demandDescribe = demandDescribe == null ? null : demandDescribe.trim();
    }

    public String getDemandCategoryId() {
        return demandCategoryId;
    }

    public void setDemandCategoryId(String demandCategoryId) {
        this.demandCategoryId = demandCategoryId == null ? null : demandCategoryId.trim();
    }

    public Integer getIsAudit() {
        return isAudit;
    }

    public void setIsAudit(Integer isAudit) {
        this.isAudit = isAudit;
    }

    public Integer getDemandStatus() {
        return demandStatus;
    }

    public void setDemandStatus(Integer demandStatus) {
        this.demandStatus = demandStatus;
    }

    public Integer getDemandMoney() {
        return demandMoney;
    }

    public void setDemandMoney(Integer demandMoney) {
        this.demandMoney = demandMoney;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county == null ? null : county.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getInitiatorName() {
        return initiatorName;
    }

    public void setInitiatorName(String initiatorName) {
        this.initiatorName = initiatorName == null ? null : initiatorName.trim();
    }

    public String getInitiatorMobile() {
        return initiatorMobile;
    }

    public void setInitiatorMobile(String initiatorMobile) {
        this.initiatorMobile = initiatorMobile == null ? null : initiatorMobile.trim();
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId == null ? null : customerId.trim();
    }

    public String getArtisanId() {
        return artisanId;
    }

    public void setArtisanId(String artisanId) {
        this.artisanId = artisanId == null ? null : artisanId.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public String getDelTime() {
        return delTime;
    }

    public void setDelTime(String delTime) {
        this.delTime = delTime == null ? null : delTime.trim();
    }

    public String getArtisanName() {
        return artisanName;
    }

    public void setArtisanName(String artisanName) {
        this.artisanName = artisanName;
    }

    public String getArtisanMobile() {
        return artisanMobile;
    }

    public void setArtisanMobile(String artisanMobile) {
        this.artisanMobile = artisanMobile;
    }
}